package org.xiangxji.snippets.data.trade;

import java.sql.SQLException;
import java.util.List;

import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

public class TradeSnapshotDao extends SqlMapClientDaoSupport {
	
	@SuppressWarnings("unchecked")
	public List<TradeSnapshot> getData(String sql) throws SQLException {
		List<TradeSnapshot> result = getSqlMapClient().queryForList("test.selectSome", sql);
		return result;
	}

}
